package com.tistory.login.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tistory.login.dao.LoginDao;
import com.tistory.login.vo.UserVo;

@Service("LoginServiceImpl")
public class LoginServiceImpl implements LoginService {
	
	@Autowired
	LoginDao loginDao;



	public void setLoginDao(LoginDao loginDao) {
		this.loginDao = loginDao;
	}
	
	
	@Override
	public Integer getUser(Map<String,Object> map) throws SQLException {
		
		return loginDao.getUser(map);
	}
	

}
